package com.freemyleft.left.zapp.wechat.templates;

import com.freemyleft.left.zapp.wechat.templates.leftwechat.BaseWxEntryActivity;
import com.freemyleft.left.zapp.wechat.templates.leftwechat.LeftWeChat;

/**
 * Created by FreeMyleft on 2017/12/14.
 */

public class WXEntryTemplate extends BaseWxEntryActivity {
    /**
     * 再次进来的时候结束他同时不需要有动画
     */
    @Override
    protected void onResume() {
        super.onResume();
        finish();
        overridePendingTransition(0,0);
    }

    @Override
    protected void onSignInSuccess(String userInfo) {
        LeftWeChat.getInstance().getmSignInCallback().onSignInSuccess(userInfo);

    }
}
